/********************************************************************
  Copyright by PCI, 2002-10-08
  File Name: db_ppm_pricing_combine.cxx
  Created Date: 2002-10-08 
  Author: Machine
  Version: 1.0 
  Last Version Date: 
  Version Date:
*******************************************************************/
/********************************************************************
  Copyright by PCI, 2002-10-08
  Class Name: CTable_PPM_PRICING_COMBINE
  Created Date: 2002-10-08 
  Author: Machine
  Defined File: db_ppm_pricing_combine.hxx
  Last Version Date: 
  Version Date:
*******************************************************************/
#include "table_ppm.h"

CTable_PPM_PRICING_COMBINE::CTable_PPM_PRICING_COMBINE( )
 :NPCRecordSet( )
{
  setTableName( "PPM_PRICING_COMBINE" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  OFFER_ID.setField( "OFFER_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( OFFER_ID );
  PRICING_COMBINE_ID.setField( "PRICING_COMBINE_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( PRICING_COMBINE_ID );
  CALC_PRIORITY.setField( "CALC_PRIORITY", DATA_DOUBLE, 22, 0 );
  makeTableItem( CALC_PRIORITY );
}


CTable_PPM_PRICING_COMBINE::CTable_PPM_PRICING_COMBINE( NPConnection& pcldb )
 :NPCRecordSet( pcldb )
{
  setTableName( "PPM_PRICING_COMBINE" );
  prepareTable();
  prepareQuery();
 
  ID.setField( "ID", DATA_DOUBLE, 22, 1 );
  makeTableItem( ID );
  makeKeyItem( ID ); 
  OFFER_ID.setField( "OFFER_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( OFFER_ID );
  PRICING_COMBINE_ID.setField( "PRICING_COMBINE_ID", DATA_DOUBLE, 22, 0 );
  makeTableItem( PRICING_COMBINE_ID );
  CALC_PRIORITY.setField( "CALC_PRIORITY", DATA_DOUBLE, 22, 0 );
  makeTableItem( CALC_PRIORITY );
}

CTable_PPM_PRICING_COMBINE::~CTable_PPM_PRICING_COMBINE( )
{
    close();
}

